package com.lzx.iteam.adapter;

import android.content.Context;
import android.media.Image;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.BaseAdapter;
import android.widget.ImageView;
import android.widget.TextView;
import com.lzx.iteam.R;
import com.lzx.iteam.widget.RoundImageView;

/**
 * Created with IntelliJ IDEA.
 * **********************************
 * User: zhangshuai
 * Date: 2016年 09月 18日
 * Time: 上午11:09
 *
 * @QQ : 1234567890
 * **********************************
 */
public class PayTeamAdapter extends BaseAdapter {

    private Context mContext;

    @Override
    public int getCount() {
        return 0;
    }

    @Override
    public Object getItem(int position) {
        return null;
    }

    @Override
    public long getItemId(int position) {
        return 0;
    }

    @Override
    public View getView(int position, View convertView, ViewGroup parent) {
        ViewHolder holder;
        if (convertView == null){
            holder = new ViewHolder();
            convertView = LayoutInflater.from(mContext).inflate(R.layout.pay_team_item_layot,null);
            holder.avatar = (RoundImageView) convertView.findViewById(R.id.pay_item_iv_avatar);
            holder.groupName = (TextView) convertView.findViewById(R.id.pay_item_tv_group_name);
            holder.groupDetail = (TextView) convertView.findViewById(R.id.pay_item_tv_group_detail);
            holder.imageSelect = (ImageView) convertView.findViewById(R.id.pay_item_iv);
        }else{
            holder = (ViewHolder) convertView.getTag();
        }




        return convertView;
    }

    class ViewHolder{
        RoundImageView avatar;
        TextView groupName;
        TextView groupDetail;
        ImageView imageSelect;
    }
}
